package com.cgy.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.cgy.entity.Xibie;



public interface XibieService {
			//查询
			Page<Xibie> findByxnamePage(Xibie x,Pageable pageable);
			//查询所有系别
			List<Xibie> getAll();
			//添加和修改
			Xibie addAndUpdate(Xibie x);
			//删除
			Integer deleteXibieByID(Integer xid);
}
